Skip to content

New templates: remove TEMPLATE_ROOT setting and old template path #12144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

humitos
Copy link
Member

@humitos humitos commented Apr 29, 2025

Simple way to tell Django to not use the templates from the readthedocs/templates directory without removing the files yet.

This is a way to test that those files are not used.

Related #12105

Simple way to tell Django to not use the templates from the
`readthedocs/templates` directory without removing the files yet.

This is a way to test that those files are not used.

Related #12105
@humitos
Copy link
Member Author

humitos commented May 6, 2025

My plan with this PR is to build an development AMI with these changes or, made the changes manually in an already deployed instance, and check the Sentry / New Relic logs for ~1h or similar. We should immediately notice if these templates are used or not.

  • Test on web-ext-theme (dashboard and proxito)
  • Test on web-celery (emails)

@humitos
Copy link
Member Author

humitos commented May 7, 2025

We cannot remove the template directory from TEMPLATES since there are a few files that are required still. I will continue with this tests in #12100

@humitos humitos closed this May 7, 2025
@stsewd stsewd deleted the humitos/remove-legacy-templates-setting branch May 7, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant